﻿// Project UnitTests
// Created by CodeBorn, TV-42, NTUU "KPI" on 30.06.2016
// Updated on 30.06.2016

using NUnit.Framework;
using Vk.Methods.Wall;

namespace UnitTests
{
    [TestFixture]
    public class WallTests : TestsBase
    {
        [Test]
        public void GetTest()
        {
            IsSignatureUpdated(typeof(Wall).GetMethod("Get"), "http://vk.com/dev/wall.get");
        }

        [Test]
        public void SearchTest()
        {
            IsSignatureUpdated(typeof(Wall).GetMethod("Search"), "http://vk.com/dev/wall.search");
        }

        [Test]
        public void GetByIdTest()
        {
            IsSignatureUpdated(typeof(Wall).GetMethod("GetById"), "http://vk.com/dev/wall.getById");
        }

        [Test]
        public void PostTest()
        {
            IsSignatureUpdated(typeof(Wall).GetMethod("Post"), "http://vk.com/dev/wall.post");
        }

        [Test]
        public void RepostTest()
        {
            IsSignatureUpdated(typeof(Wall).GetMethod("Repost"), "http://vk.com/dev/wall.repost");
        }

        [Test]
        public void GetRepostsTest()
        {
            IsSignatureUpdated(typeof(Wall).GetMethod("GetReposts"), "http://vk.com/dev/wall.getReposts");
        }

        [Test]
        public void EditTest()
        {
            IsSignatureUpdated(typeof(Wall).GetMethod("Edit"), "http://vk.com/dev/wall.edit");
        }

        [Test]
        public void DeleteTest()
        {
            IsSignatureUpdated(typeof(Wall).GetMethod("Delete"), "http://vk.com/dev/wall.delete");
        }

        [Test]
        public void RestoreTest()
        {
            IsSignatureUpdated(typeof(Wall).GetMethod("Restore"), "http://vk.com/dev/wall.restore");
        }

        [Test]
        public void PinTest()
        {
            IsSignatureUpdated(typeof(Wall).GetMethod("Pin"), "http://vk.com/dev/wall.pin");
        }

        [Test]
        public void UnpinTest()
        {
            IsSignatureUpdated(typeof(Wall).GetMethod("Unpin"), "http://vk.com/dev/wall.unpin");
        }

        [Test]
        public void GetCommentsTest()
        {
            IsSignatureUpdated(typeof(Wall).GetMethod("GetComments"), "http://vk.com/dev/wall.getComments");
        }

        [Test]
        public void CreateCommentTest()
        {
            IsSignatureUpdated(typeof(Wall).GetMethod("CreateComment"), "http://vk.com/dev/wall.createComment");
        }

        [Test]
        public void EditCommentTest()
        {
            IsSignatureUpdated(typeof(Wall).GetMethod("EditComment"), "http://vk.com/dev/wall.editComment");
        }

        [Test]
        public void DeleteCommentTest()
        {
            IsSignatureUpdated(typeof(Wall).GetMethod("DeleteComment"), "http://vk.com/dev/wall.deleteComment");
        }

        [Test]
        public void RestoreCommentTest()
        {
            IsSignatureUpdated(typeof(Wall).GetMethod("RestoreComment"), "http://vk.com/dev/wall.restoreComment");
        }

        [Test]
        public void ReportPostTest()
        {
            IsSignatureUpdated(typeof(Wall).GetMethod("ReportPost"), "http://vk.com/dev/wall.reportPost");
        }

        [Test]
        public void ReportCommentTest()
        {
            IsSignatureUpdated(typeof(Wall).GetMethod("ReportComment"), "http://vk.com/dev/wall.reportComment");
        }
    }
}